Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added pytest for analysis.time_correlation #60

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

matteobecchi
Copy link
Contributor

@matteobecchi matteobecchi commented Feb 6, 2025

Related Issues: #55
Requested Reviewers: @andrewtarzia

I added pytests for the function dynsight.analysis.self_time_correlation() and dynsight.analysis.cross_time_correlation(), which were missing.

The tests generate a 1D random walk and measure its time-correlation function. Results are compared with values saved in tests/analysis/tcorr folder.

@matteobecchi matteobecchi added the enhancement New feature or request label Feb 6, 2025
@matteobecchi matteobecchi self-assigned this Feb 6, 2025
@matteobecchi matteobecchi linked an issue Feb 6, 2025 that may be closed by this pull request
@matteobecchi matteobecchi marked this pull request as ready for review February 6, 2025 11:09
@andrewtarzia andrewtarzia merged commit fc6f952 into GMPavanLab:main Feb 6, 2025
6 checks passed
@matteobecchi
Copy link
Contributor Author

Uploading meme_PR.jpg…

@matteobecchi matteobecchi deleted the t_corr branch February 6, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add test for time correlation functions
2 participants